package com.example.myapplication.pojo;

import java.util.Date;

public class Article {

    /**
     * 创作者
     * 创作时间
     * 创作信息
     */
    private Integer id;
    private String name;
    private Date date;
    private String information;

    public Article(Integer id, String name, Date date, String information) {
        this.id = id;
        this.name = name;
        this.date = date;
        this.information = information;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Article() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getInformation() {
        return information;
    }

    public void setInformation(String information) {
        this.information = information;
    }
}
